//
//  PhoneShortcutLoginViewController.m
//  SAILIN
//
//  Created by 崔国冠 on 2018/10/22.
//  Copyright © 2018年 赛麟. All rights reserved.
//

#import "PhoneShortcutLoginViewController.h"
#import "MainViewController.h"
@interface PhoneShortcutLoginViewController ()

@end

@implementation PhoneShortcutLoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
#pragma mark - Action

- (IBAction)confirmAction:(id)sender {
    
    [self toMainViewController];
    
}
- (IBAction)passwordLoginAction:(id)sender {
    
    [self.navigationController popViewControllerAnimated:YES];
    
}

#pragma mark - 跳转
- (void)toMainViewController{
    
    UIStoryboard *mainSB = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
    MainViewController *VC = [mainSB instantiateViewControllerWithIdentifier:@"MainViewController"];
    [self.navigationController pushViewController:VC animated:YES];
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
